package com.yjd.bi.etl.user;

import com.yjd.bi.etl.user.service.UserPlatformDepoDataStatisticService;
import com.yjd.job.BaseJob;

import javax.annotation.Resource;

/**
 * 存管数据统计job
 * Created by yangchangyan on 2017/5/17.
 */
public class UserPlatformDepoDataStatisticJob extends BaseJob {

    @Resource(name = "userPlatformDepoDataStatisticService")
    private UserPlatformDepoDataStatisticService depoDataStatisticService;

    @Override
    protected boolean doExecute() throws Exception {
        depoDataStatisticService.statistic();
        return true;
    }

    @Override
    protected String getJobType() {
        return UserPlatformDepoDataStatisticJob.class.getName();
    }
}
